<?php
/**
 *
 * 动态获取收藏状态
 *
 */
require_once(dirname(__FILE__)."/../include/common.inc.php");
require_once(DEDEINC."/memberlogin.class.php");
$ml = new MemberLogin();
$aid = intval($aid);

//查询状态
$row = $dsql->GetOne("Select * From `#@__member_stow` where aid='$aid' and mid='{$ml->M_ID}' ");
if( !is_array($row) ){
    $arr = array(
	   "status"=>"0"
     );
     echo json_encode($arr);
     exit; 
}else{
    $arr = array(
	   "status"=>"1"
     );
     echo json_encode($arr);
     exit; 
}
?>